package com.haiheng.common.bean

/**
 *
 * @Des:
 * @Author: hwz
 * @Date:2023/4/18 0018
 * @Version: 1.0
 */
data class AddStatusReq(
    var ComponentType: Int = 0,
    var Content: AddStatusContent = AddStatusContent(),
//    var LibraryCode: String = "",
//    var MachineCatalogType: Int = 0,
//    var MachineModelType: String = "",
//    var Name: String = "",
    var MachineUuid: String = "",
    var Ok: String = ""

)

data class AddStatusContent(
    var AcsConnectedStatus: Boolean = false,
    var AcsLoginedStatus: Boolean = false,
    var AcsStatus: Boolean = false,
    var AppRunStatus: Int = 0,
    var DbStatus: Boolean = false,
    var ExtDevicesRunStatus: ExtDevicesRunStatus = ExtDevicesRunStatus(),
    var InnerNetStatus: Boolean = false,
    var MqttDevClientStatus: Boolean = false,
    var NanoClientStatus: Boolean = false,
    var OuterNetStatus: Boolean = false,
    var SysFunctionList: List<SysFunction> = listOf()
)

data class ExtDevicesRunStatus(
//    var BarCodeFS16: DevicesRunStatusData = DevicesRunStatusData(),
//    var AdScreen: DevicesRunStatusData = DevicesRunStatusData(),
    var HfReader: DevicesRunStatusData = DevicesRunStatusData(),//阅读器
    var ScanDev: DevicesRunStatusData = DevicesRunStatusData(),//扫码
    var CameraDev: DevicesRunStatusData = DevicesRunStatusData(),//摄像头-人脸
    var RadarDetectionDev: DevicesRunStatusData = DevicesRunStatusData(),//雷达
    var MicNoiseReduction: DevicesRunStatusData = DevicesRunStatusData(),//降噪
)

data class SysFunction(
    var IsValid: Boolean = false,
    var Mark: String? = null,
    var Name: String = ""
)

data class DevicesRunStatusData(
    var DisplayName: String = "",
    var IsInitial: Boolean = false,
    var IsOnline: Boolean = false,
    var IsOpend: Boolean = false,
    var IsWorking: Boolean = false,
    var IsSendNotification: Boolean = false //IsSendNotification 是否要短信或右键通知 如果是很重要的控件可以填true
)

